package com.zhixianggou.caibaobox.lottery.dataShow.vo;

import com.zhixianggou.caibaobox.commons.utils.DateUtil;
import lombok.Data;

import java.text.ParseException;
import java.util.Date;
import java.util.List;

/**
 * @author zyq
 * 8/25/24 2:37 PM
 */
@Data
public class SLotteryDataVo {

    public String lotteryDrawNum;               //期号
    public Date lotteryDrawTime;              //开奖时间
    public String lotteryDrawResult;            //开奖结果
    public String drawPdfUrl;                   //开奖pdf地址
    public String totalSaleAmount;              //销售额 (元)
    public String poolBalanceAfterdraw;         //奖池奖金 (元)
    public List<SPrizeLevelVo> prizeLevelList;               //奖项列表

    public String week;                         //星期几

    public String getWeek() {
        return DateUtil.getWeekNum(lotteryDrawTime);
    }

}
